package org.stream.answerduel.vo.Subject;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @author  郭榕
 * @date    2019/7/17  13:53
 * 功能描述：题目详情
 *
 */
@ApiModel("题目详情")
@Slf4j
@Data
@Accessors(chain = true)
public class SubjectDetails {

    @ApiModelProperty
    private String index;

    @ApiModelProperty
    private Topic topic;

    @ApiModelProperty
    private String tags;

    @ApiModelProperty
    private List<Option> options;

    @ApiModelProperty
    private String answer;

    @Override
    public String toString() {
        return "SubjectDetails{" +
                "index='" + index + '\'' +
                ", topic=" + topic +
                ", tags='" + tags + '\'' +
                ", options=" + options +
                ", answer='" + answer + '\'' +
                '}';
    }
}


